package com.newviews.tcmip.service.inf;

import com.newviews.tcmip.common.model.PageModel;
import com.newviews.tcmip.common.model.ResultModel;
import com.newviews.tcmip.pojo.po.EtcmDiseaseExPo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.newviews.tcmip.pojo.po.EtcmDiseasePo;
import com.newviews.tcmip.pojo.po.EtcmHerbPo;
import com.newviews.tcmip.web.vo.combin.HerbHerbPageReqVo;
import com.newviews.tcmip.web.vo.combin.HerbHerbReqVo;
import com.newviews.tcmip.web.vo.combin.NetworkStatisticsRespVo;
import com.newviews.tcmip.web.vo.combin.SearchRespVo;
import com.newviews.tcmip.web.vo.etcmpx.PxNetworkStatisticsRespVo;
import org.springframework.web.servlet.resource.HttpResource;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 疾病扩展信息 服务类
 * </p>
 *
 * @author lxc
 * @since 2024-03-01
 */
public interface EtcmDiseaseExServiceInf extends IService<EtcmDiseaseExPo> {

    ResultModel<NetworkStatisticsRespVo> getIngrIngr(HerbHerbReqVo reqVo);

    ResultModel<NetworkStatisticsRespVo> getPxDisease(HerbHerbReqVo reqVo);

    ResultModel<NetworkStatisticsRespVo> getIngrDisease(HerbHerbReqVo reqVo);

    ResultModel<NetworkStatisticsRespVo> getHerbDisease(HerbHerbReqVo reqVo);

    ResultModel<PageModel<Map<String, String>>> getIngrIngrPage(HerbHerbPageReqVo reqVo);

    ResultModel<PageModel<Map<String, String>>> getPxDiseasePage(HerbHerbPageReqVo reqVo);

    ResultModel<PageModel<Map<String, String>>> getHerbDiseasePage(HerbHerbPageReqVo reqVo);

    ResultModel<PageModel<Map<String, String>>> getIngrDiseasePage(HerbHerbPageReqVo reqVo);


    void getDownload(HttpServletResponse response, String uiTypeCode, String langCode, String exportType, List<Map<String, String>> list);

    ResultModel<List<SearchRespVo>> getHerbSearch(String name, String langCode,Integer type);



}
